<script>
    export default {
        props: {
            personName: {
                type: String,
                default: '张三',
                required: true
            },
            idCardNumber:{
              type: String,
              required: true
            },
            personAge: {
                type: Number,
                default: 18,
                required: true
            }
        }
    }
</script>

<template>
    <div>
      <h2>
        人员姓名：{{personName}}
        身份证：{{idCardNumber}}
        年龄：{{personAge}}
      </h2>

    </div>
</template>

<style scoped>

</style>
